const payCenterRouter = {
  path: 'pay_center',
  name: 'PayCenter',
  hidden: true,
  meta: { title: '支付中心' },
  component: () => import('@/views/operate/index'),
  redirect: '/operation/pay_center/pay_list',
  children: [
    {
      path: 'pay_list',
      name: 'PayList',
      hidden: true,
      meta: { title: '支付中心', key: 'pay', noCache: true },
      component: () => import('@/views/operate/pay/pay-center')
    },
    {
      path: 'pay_configuration',
      name: 'Configuration',
      hidden: true,
      meta: { title: '微信支付配置', noCache: true },
      component: () => import('@/views/operate/pay/pay-center/configuration')
    },
    {
      path: 'card_list',
      name: 'CardList',
      hidden: true,
      meta: { title: '银行卡列表', noCache: true },
      component: () => import('@/views/operate/pay/bank-card')
    },
    {
      path: 'add_bank_card',
      name: 'AddBankCard',
      hidden: true,
      meta: { title: '新建银行卡', noCache: true },
      component: () => import('@/views/operate/pay/bank-card/form')
    },
    {
      path: 'edit_bank_card',
      name: 'EditBankCard',
      hidden: true,
      meta: { title: '编辑银行卡', noCache: true },
      component: () => import('@/views/operate/pay/bank-card/form')
    }
  ]
}

export default payCenterRouter
